package com.ny.wlw;

public class Emp7 {
    private String number;
    private String name;
    private String password;
    private  int age;
    public Emp7 (String number,String name,String password,int age){
        this.number=number;
        this.name=name;
        this.password=password;
        this.age=age;
    }

    public Emp7() {

    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {return password;}

    public void setPassword(String password) {this.password = password;}

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }


    @Override
    public String toString() {
        return "Emp7{" +
                "number='" + number + '\'' +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", age=" + age +
                '}';
    }
}

